package com.sntk.registermanager.staff.application.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @author liuyunxia
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class DoctorInfoUpdator implements Serializable {


    @ApiModelProperty(value="医生名称",name="doctorName", required=true)
    @NotBlank(message = "医生名称不能为空")
    private String doctorName;

    @ApiModelProperty(value="联系方式",name="phone", required=true)
    @NotBlank(message = "联系方式不能为空")
    private String phone;


    @ApiModelProperty(value="简介",name="introduction")
    private String introduction;


    @ApiModelProperty(value="备注",name="remark")
    private String remark;


    @ApiModelProperty(value="职称",name="jobTitle")
    private String jobTitle;


    @ApiModelProperty(value="医生性别",name="gender", required=true)
    @NotNull(message = "性别不能为空")
    private Integer gender;

}
